package com.ljl.question2.tcp;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * tcp配置
 *
 * @author ljl
 */
@Configuration
public class TcpConfiguration {
    @Bean
    @ConfigurationProperties(prefix = "tcp")
    public TcpConnectorEntityVo properties() {
        return new TcpConnectorEntityVo();
    }
}
